﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Stone.DataContracts;
using System.Data;
using System.ServiceModel;

namespace Stone.ServiceInterfaces.ServiceInterfaces
{
    [ServiceContract()]
    public interface IXyService
    {
        [OperationContract]
         void Add(XyEntity xyEntity);

        [OperationContract]
         void Delete(int qdxy_id);

        [OperationContract]
         XyEntity GetEntity(int qdxy_id);

        [OperationContract]
         DataTable GetList(string strWhere);

        [OperationContract]
         void Update(XyEntity xyEntity);

        [OperationContract]
         void UpdateState(string qdxy_id, string qdxy_zt);
    }
}
